| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

TextureWrapper.h
1 // TextureWrapper.h
3 //
5
6 namespace nkAstraeus::nkGraphicsWrap
7 {
11 class TextureWrapper final
12 {
13 public :
14
20 static void updateEnvironment (nkScripts::Environment* env) ;
21
22 // Callbacks
23 // Load
34 static nkScripts::OutputValue load (const nkScripts::DataStack& stack) ;
45 static nkScripts::OutputValue unload (const nkScripts::DataStack& stack) ;
46 // Mapping
57 static nkScripts::OutputValue convertToImage (const nkScripts::DataStack& stack) ;
58 } ;
59 }
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkGraphicsWrap::TextureWrapper::load
static nkScripts::OutputValue load(const nkScripts::DataStack &stack)
nkAstraeus::nkGraphicsWrap::TextureWrapper::unload
static nkScripts::OutputValue unload(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkGraphicsWrap::TextureWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkGraphicsWrap::TextureWrapper
Wraps a nkGraphics::Texture and offers functions for use in scripting.
Definition: TextureWrapper.h:12
nkAstraeus::nkGraphicsWrap
Encompasses the wrapping of nkGraphics for scripting.
Definition: BoundingBoxWrapper.h:7
nkAstraeus::nkGraphicsWrap::TextureWrapper::convertToImage
static nkScripts::OutputValue convertToImage(const nkScripts::DataStack &stack)